github.com/gotd/td/telegram.Client.auth (field)
19 uses
github.com/gotd/td/telegram (current package)
auth_lost.go#L86: done := c.auth.done.Load()
auth_lost.go#L212: c.auth.authorized.Store(false)
auth_lost.go#L226: if !c.auth.authorized.Load() || c.auth.loggedOut.Load() {
auth_lost.go#L233: if !c.auth.reported.CompareAndSwap(false, true) {
auth_lost.go#L236: c.auth.authorized.Store(false)
auth_lost.go#L278: prev := c.auth.done.Swap(&done)
auth_lost.go#L299: c.auth.reported.Store(false)
auth_lost.go#L302: c.auth.stopped.Store(true)
auth_lost.go#L310: if c.auth.authorized.Load() {
auth_lost.go#L313: c.auth.authorized.Store(true)
auth_lost.go#L314: c.auth.reported.Store(false)
auth_lost.go#L315: c.auth.loggedOut.Store(false)
client.go#L132: auth authState
connect.go#L71: if c.auth.stopped.Load() {
logout.go#L41: c.auth.loggedOut.Store(true)
logout.go#L52: c.auth.authorized.Store(false)
session.go#L134: if c.storage == nil || c.auth.loggedOut.Load() {
session.go#L284: if c.storage == nil || c.auth.loggedOut.Load() {
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |